//
//  MYUserModel.h
//  JQLive
//
//  Created by Bruce on 2020/1/14.
//  Copyright © 2020 mlqk. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface AccessToken :BaseModel
@property (nonatomic , copy) NSString              * accessToken;
@property (nonatomic , assign) NSInteger              expiresIn;
@property (nonatomic , copy) NSString              * refreshToken;
@property (nonatomic , copy) NSString              * scope;
@property (nonatomic , copy) NSString              * tokenType;

@end

/**
 @brief 用户信息model
 @code
 account (string, optional): 秒音号 ,
 addrArea (string, optional): 地区 ,
 addrCity (string, optional): 城市 ,
 addrCountry (string, optional): 国家 ,
 addrDetail (string, optional): 详细地址 ,
 addrProvince (string, optional): 省份 ,
 birthDay (string, optional): 生日 ,
 createBy (integer, optional): 创建人 ,
 createDate (string, optional): 创建时间 ,
 creditScore (integer, optional): 积分 ,
 email (string, optional): 邮箱 ,
 imToken (string, optional): 腾讯云token ,
 isOnline (integer, optional): 是否在线 0否,1是 ,
 isPwd (integer, optional): 是否设置支付密码 0否,1是 ,
 isReal (integer, optional): 是否实名认证 0否,1是 ,
 locationLat (number, optional): 纬度 ,
 locationLon (number, optional): 经度 ,
 memberId (integer, optional): 主键 ,
 mrAvatar (string, optional): 头像 ,
 mrPhone (string, optional): 手机号 ,
 mrSex (integer, optional): 性别 1男,0女 ,
 mrSign (string, optional): 签名 ,
 name (string, optional): 真实姓名 ,
 nickName (string, optional): 昵称 ,
 password (string, optional): 密码 ,
 payPwd (string, optional): 支付密码 ,
 region (string, optional): 区号 ,
 remarks (string, optional): 备注 ,
 shareNumber (integer, optional): 分享数 ,
 status (integer, optional): 状态 0正常，1封禁 ,
 updateBy (integer, optional): 更新人 ,
 updateDate (string, optional): 更新时间
 isVerification (integer, optional): 加好友验证1：不需要 2：需要 ,
 qqAccount (string, optional): qq账号 ,
 weiboAccount (string, optional): 微博账号 ,
 wxAccount (string, optional): 微信账号 ,

 @endcode
 */
@interface MYUserModel : BaseModel

/// 验证授权
@property (nonatomic , strong) AccessToken              * accessToken;

@property (nonatomic , copy) NSString              * accessTokenString;

/// account (string, optional): 秒音号
@property (nonatomic , copy) NSString              * account;

/// addrArea (string, optional): 地区 ,
@property (nonatomic , copy) NSString              * addrArea;

/// addrCity (string, optional): 城市 ,
@property (nonatomic , copy) NSString              * addrCity;

/// addrCountry (string, optional): 国家 ,
@property (nonatomic , copy) NSString              * addrCountry;

/// addrDetail (string, optional): 详细地址 ,
@property (nonatomic , copy) NSString              * addrDetail;

/// addrProvince (string, optional): 省份 ,
@property (nonatomic , copy) NSString              * addrProvince;

/// birthDay (string, optional): 生日 ,
@property (nonatomic , copy) NSString              * birthDay;

/// createBy (integer, optional): 创建人 ,
@property (nonatomic , assign) NSInteger              createBy;

/// 创建时间
@property (nonatomic , copy) NSString              * createDate;

/// creditScore (integer, optional): 积分 ,
@property (nonatomic , assign) NSInteger              creditScore;

/// email (string, optional): 邮箱 ,
@property (nonatomic , copy) NSString              * email;

/// imToken (string, optional): 腾讯云token ,
@property (nonatomic , copy) NSString              * imToken;

/// isOnline (integer, optional): 是否在线 0否,1是 ,
@property (nonatomic , assign) NSInteger              isOnline;

/// isAccount (integer, optional): 修改过账号（0没有、1有） ,
@property (nonatomic , assign) NSInteger              isAccount;


/// isSeller (integer, optional): 商家（1是、0不是） ,
@property (nonatomic , assign) NSInteger              isSeller;

/// isAgent (string, optional): 代理（1是、0不是）
@property (nonatomic , assign) NSInteger              isAgent;

/// isPayPhone (string, optional): 绑定支付手机号（1是、0不是） ,
@property (nonatomic , assign) NSInteger              isPayPhone;


/// isPwd (integer, optional): 是否设置支付密码 0否,1是 ,
@property (nonatomic , assign) NSInteger              isPwd;

/// isReal (integer, optional): 是否实名认证 0否,1是 ,
@property (nonatomic , assign) NSInteger              isReal;

/// locationLat (number, optional): 纬度 ,
@property (nonatomic , assign) NSInteger              locationLat;

/// locationLon (number, optional): 经度 ,
@property (nonatomic , assign) NSInteger              locationLon;

/// memberId (integer, optional): 主键 ,
@property (nonatomic , assign) NSInteger              memberId;

/// mrAvatar (string, optional): 头像 ,
@property (nonatomic , copy) NSString              * mrAvatar;

/// mrPhone (string, optional): 手机号 ,
@property (nonatomic , copy) NSString              * mrPhone;

/// mrSex (integer, optional): 性别 1男,0女 ,
@property (nonatomic , assign) NSInteger              mrSex;

/// mrSign (string, optional): 签名 ,
@property (nonatomic , copy) NSString              * mrSign;

/// name (string, optional): 真实姓名 ,
@property (nonatomic , copy) NSString              * name;

/// nickName (string, optional): 昵称 ,
@property (nonatomic , copy) NSString              * nickName;

/// password (string, optional): 密码 ,
@property (nonatomic , copy) NSString              * password;

/// payPwd (string, optional): 支付密码 ,
@property (nonatomic , copy) NSString              * payPwd;

/// region (string, optional): 区号 ,
@property (nonatomic , copy) NSString              * region;

/// remarks (string, optional): 备注 ,
@property (nonatomic , copy) NSString              * remarks;

/// shareNumber (integer, optional): 分享数 ,
@property (nonatomic , assign) NSInteger            shareNumber;

/// status (integer, optional): 状态 0正常，1封禁 ,
@property (nonatomic , assign) NSInteger             status;

/// updateBy (integer, optional): 更新人 ,
@property (nonatomic , assign) NSInteger             updateBy;

/// updateDate (string, optional): 更新时间
@property (nonatomic , copy) NSString              * updateDate;

/// 加好友是否需要验证 1：不需要 2：需要
@property (nonatomic , assign) NSInteger          isVerification;

/// qqAccount (string, optional): qq账号 ,
@property (nonatomic , copy) NSString              * qqAccount;

/// weiboAccount (string, optional): 微博账号 ,
@property (nonatomic , copy) NSString              * weiboAccount;

/// wxAccount (string, optional): 微信账号 ,
@property (nonatomic , copy) NSString              * wxAccount;

/// aliAccount (string, optional): 阿里账号 ,
@property (nonatomic , copy) NSString              * aliAccount;

/// 邀请码
@property (nonatomic , copy) NSString              * inviteCode;


/// 云信上传token vodToken
@property (nonatomic , copy) NSString              * vodToken;


@end

NS_ASSUME_NONNULL_END
